﻿<html>
<head>
    <title>OutlookBar - jQuery MiniUI 3.0 Documentation</title>    

    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="keywords" content="jquery,datagrid,grid,表格控件,ajax,web开发,java开发,.net开发,tree,table,treegrid" />
    <meta name="description" content="jQuery MiniUI - 专业WebUI控件库。jQuery MiniUI是使用Javascript实现的前端Ajax组件库，支持所有浏览器，可以跨平台开发，如Java、.Net、PHP等。" />

    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <script src="core.js" type="text/javascript"></script>
    
        

    
</head>
<body>
    <h3>mini.OutlookBar</h3>
    
    <p>折叠面板组。</p>
  
    <h4>Extend</h4>
    <p> <a class="extendlink" href="control.html">mini.Control</a></p>    


    <h4>Usage</h4>
<pre class="code"><span style="color:blue">&lt;</span><span style="color:maroon">div </span><span style="color:red">class</span><span style="color:blue">="mini-outlookbar " </span><span style="color:red">activeIndex</span><span style="color:blue">="0" </span><span style="color:red">style</span><span style="color:blue">="</span><span style="color:red">width</span><span style="color:blue">:180px;</span><span style="color:red">height</span><span style="color:blue">:200px;" </span><span style="color:red">autoCollapse</span><span style="color:blue">="true"&gt;
    &lt;</span><span style="color:maroon">div </span><span style="color:red">title</span><span style="color:blue">="Small Items"&gt;            
        1
    &lt;/</span><span style="color:maroon">div</span><span style="color:blue">&gt;
    &lt;</span><span style="color:maroon">div </span><span style="color:red">title</span><span style="color:blue">="Large Items"&gt;
        2
    &lt;/</span><span style="color:maroon">div</span><span style="color:blue">&gt;
&lt;/</span><span style="color:maroon">div</span><span style="color:blue">&gt;
</span></pre>

    <h4>Screenshots</h4>
    <table>
        <tr>
            <td style="border:0"><img src="images/outlookbar.gif" /></td>
            <td style="border:0"><img src="images/outlooktree.gif" /></td>
        </tr>
    </table>    

    <h4>Examples</h4>
    <a class="demo" href="../../demo/outlookbar/outlookbar.html" target="_blank">OutlookBar</a>
    <a class="demo" href="../../demo/outlookmenu/outlookmenu.html" target="_blank">OutlookMenu</a>
    <a class="demo" href="../../demo/outlooktree/outlooktree.html" target="_blank">OutlookTree</a>
    


    <h4>Properties</h4>
    <table>
        <tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th><a href="setsupport.html" target="_blank" style="padding-left:5px;padding-right:5px;"> Set? </a></th><th><a href="getsupport.html" target="_blank" style="padding-left:5px;padding-right:5px;"> Get? </a></th><th><a href="tagsupport.html" target="_blank" style="padding-left:5px;padding-right:5px;"> Tag? </a></th></tr>
        <tr>
            <td>activeIndex</td>
            <td>Number</td>
            <td>选中面板的索引</td>
            <td>-1</td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr>
        <tr>
            <td>autoCollapse</td>
            <td>Boolean</td>
            <td>是否自动折叠</td>
            <td>false</td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr>
        <tr>
            <td>expandOnLoad</td>
            <td>Boolean</td>
            <td>各个子面板初始折叠状态</td>
            <td>true</td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr>
        
    </table>

    <h4>Methods</h4>
    <table>
        <tr><th>Name</th><th>Parameter</th><th>Description</th><th>Return</th></tr>
        <tr>
            <td>setGroups ( Array )</td>
            <td></td>
            <td>设置groups数组</td>
            <td></td>
        </tr>
        <tr>
            <td>addGroup ( Object [, index] )</td>
            <td>
            Object：group对象。<br />
            index：Number。索引号。<br />
            </td>
            <td>增加group。<br />
            </td>
            <td></td>
        </tr>
        <tr>
            <td>removeGroup ( name/index )</td>
            <td>name：group名称。</td>
            <td>删除group面板。</td>
            <td></td>
        </tr>
        <tr>
            <td>removeAll ( )</td>
            <td></td>
            <td>删除所有子Group。</td>
            <td></td>
        </tr>
        <tr>
            <td>moveGroup ( group, index )</td>
            <td></td>
            <td>移动group面板到新位置</td>
            <td></td>
        </tr>
        <tr>
            <td>updateGroup ( group, options )</td>
            <td></td>
            <td>更新group面板</td>
            <td></td>
        </tr>
        <tr>
            <td>getGroup ( index )<br />
            getGroup ( groupName )
            </td>
            <td></td>
            <td>获取group面板对象</td>
            <td></td>
        </tr>    
        <tr>
            <td>getGroupBodyEl ( index )<br />
            getGroupBodyEl ( groupName )
            </td>
            <td></td>
            <td>获取group面板对象内容区DOM元素</td>
            <td></td>
        </tr>              
        
    </table>

    <h4>Events</h4>
    <table>
        <tr><th>Name</th><th>EventObject</th><th>Description</th></tr>
        <tr>
            <td>activechanged</td>
            <td></td>
            <td>面板切换时发生</td>
           
        </tr>
        
    </table>

    <h4 id="group">Group Object</h4>
    <p>NavBar 面板对象，属性如下：</p>
    <table>
        <tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th></tr>
        <tr>
            <td>name</td>
            <td>String</td>
            <td>面板名称</td>
            <td></td>
            
        </tr>
        <tr>
            <td>title</td>
            <td>String</td>
            <td>标题文本</td>
            <td></td>
            
        </tr>
        <tr>
            <td>iconCls</td>
            <td>String</td>
            <td>标题图标样式类</td>
            <td></td>
            
        </tr>
        <tr>
            <td>iconStyle</td>
            <td>String</td>
            <td>标题图标样式</td>
            <td></td>
            
        </tr>
        <tr>
            <td>headerCls</td>
            <td>String</td>
            <td>头部样式类</td>
            <td></td>
            
        </tr>
        <tr>
            <td>headerStyle</td>
            <td>String</td>
            <td>头部样式</td>
            <td></td>
            
        </tr>
        <tr>
            <td>bodyCls</td>
            <td>String</td>
            <td>内容区样式类</td>
            <td></td>
            
        </tr>
        <tr>
            <td>bodyStyle</td>
            <td>String</td>
            <td>内容区样式</td>
            <td></td>
            
        </tr>
        <tr>
            <td>visible</td>
            <td>Boolean</td>
            <td>是否显示</td>
            <td>true</td>
            
        </tr>
        <tr>
            <td>enabled</td>
            <td>Boolean</td>
            <td>是否启用</td>
            <td>true</td>
            
        </tr>
        <tr>
            <td>showCollapseButton</td>
            <td>Boolean</td>
            <td>是否显示折叠按钮</td>
            <td>true</td>
            
        </tr>
    </table>
</body>
</html>